package com.lx.bilibili.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.sql.Timestamp;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author lx
 * @since 2025-04-13
 */
@Getter
@Setter
@Data
@TableName("orders")
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 地址id
     */
    @TableField("oid")
    private Integer oid;

    @TableField("total")
    private Integer total;

    @TableField("nums")
    private Integer nums;

    @TableField("state")
    private String state;

    @TableField("ordertime")
    private Timestamp ordertime;

    @TableField("pid")
    private Integer pid;

    @TableField("uid")
    private Integer uid;
}
